import React, { Component } from 'react'
import Brother1 from './Brother1-backup'
import Brother2 from './Brother2-backup'

export default class reduxIndex extends Component {
    render() {
        return (
            <div>
                <h2>我是父组件</h2>
                <br />
                <div>
                    <div
                        style={{
                            float: 'left',
                            width: 400,
                            height: 400
                        }}
                    >
                        <Brother1 />
                    </div>
                    <div
                        style={{
                            float: 'right',
                            width: 400,
                            height: 400
                        }}
                    >
                        <Brother2 />
                    </div>
                </div>
            </div>
        )
    }
}
